using System;

namespace iPhOwa.Exchange.Attributes
{
	/// <summary>
	/// A string value attribute.
	/// </summary>
	[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
	public sealed class StringValueAttribute : Attribute
	{
		private readonly string value;

		/// <summary>
		/// Constructor.
		/// </summary>
		/// <param name="value"></param>
		public StringValueAttribute(string value)
		{
			this.value = value;
		}

		/// <summary>
		/// Value
		/// </summary>
		public string Value
		{
			get { return value; }
		}
	}
}